package com.macro.pojos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_goods_ladder")
@ApiModel(value = "商品阶梯价格表(只针对同商品)")
public class UiGoodsLadder {
  /**
   * 主键
   */
  @TableId(value = "id",type = IdType.AUTO)
  @ApiModelProperty(value = "主键id")
  private Integer id;

  /**
   * 商品货号
   */
  @ApiModelProperty(value = "商品货号")
  @TableField("goods_sn")
  private String goodsSn;

  /**
   * 满足打折的商品数量
   */
  @ApiModelProperty(value = "满足打折的商品数量")
  @TableField("count")
  private Integer count;

  /**
   * 折扣
   */
  @ApiModelProperty(value = "折扣")
  @TableField("discount")
  private java.math.BigDecimal discount;

  /**
   * 折后价格
   */
  @ApiModelProperty(value = "折后价格")
  @TableField("price")
  private java.math.BigDecimal price;

  /**
   * 创建时间
   */
  @ApiModelProperty(value = "创建时间")
  @TableField("created_time")
  private java.util.Date createdTime;

  /**
   * 更新时间
   */
  @ApiModelProperty(value = "更新时间")
  @TableField("updated_time")
  private java.util.Date updatedTime;

  /**
   * 删除 1是 0否
   */
  @ApiModelProperty(value = "删除 1是 0否")
  @TableField("is_deleted")
  private Integer isDeleted;




}
